package com.ds.home.database.vo;

/**
 * Device entity. @author MyEclipse Persistence Tools
 */

public class DeviceVO implements java.io.Serializable {

    // Fields

    private String deviceid;

    private Integer devicetype;
    private String serialno;
    private String currvalue;
    private Integer states = 1;
    private String macaddress;
    private String batch;
    private String areaid;
    private String placeid;

    private String factory;
    private Long addtime;
    private String bindingaccount;
    private String appaccount;
    private String channel;
    private String subsyscode;
    private String name;
    private Long lastlogintime;
    private String battery;

    // Constructors

    /** default constructor */
    public DeviceVO() {
    }

    /** minimal constructor */
    public DeviceVO(String deviceid) {
	this.deviceid = deviceid;
    }

    public Long getLastlogintime() {
        return lastlogintime;
    }

    public void setLastlogintime(Long lastlogintime) {
        this.lastlogintime = lastlogintime;
    }

    /** full constructor */
    public DeviceVO(String deviceid, Integer devicetype, String serialno, Integer states, String macaddress, String batch, String factory, Long addtime, String bindingaccount, String channel, String subsyscode, String name,
	    String battery, String currvalue, String appaccount,String areaid,String placeid, Long lastlogintime) {
	this.deviceid = deviceid;
	this.devicetype = devicetype;
	this.serialno = serialno;
	this.states = states;
	this.macaddress = macaddress;
	this.batch = batch;
	this.factory = factory;
	this.addtime = addtime;
	this.bindingaccount = bindingaccount;
	this.channel = channel;
	this.subsyscode = subsyscode;
	this.areaid=areaid;
	this.placeid=placeid;

	this.name = name;
	this.battery = battery;
	this.currvalue = currvalue;
	this.appaccount = appaccount;
	this.lastlogintime=lastlogintime;


    }

    // Property accessors

    public String getDeviceid() {
	return this.deviceid;
    }

    public void setDeviceid(String deviceid) {
	this.deviceid = deviceid;
    }

    public Integer getDevicetype() {
	return this.devicetype;
    }

    public void setDevicetype(Integer devicetype) {
	this.devicetype = devicetype;
    }

    public String getSerialno() {
	return this.serialno;
    }

    public void setSerialno(String serialno) {
	this.serialno = serialno;
    }

    public Integer getStates() {
	return this.states;
    }

    public void setStates(Integer states) {
	    this.states = states;
    }

    public String getMacaddress() {
	return this.macaddress;
    }

    public void setMacaddress(String macaddress) {
	this.macaddress = macaddress;
    }

    public String getBatch() {
	return this.batch;
    }

    public void setBatch(String batch) {
	this.batch = batch;
    }

    public String getFactory() {
	return this.factory;
    }

    public void setFactory(String factory) {
	this.factory = factory;
    }

    public Long getAddtime() {
	return this.addtime;
    }

    public void setAddtime(Long addtime) {
	this.addtime = addtime;
    }

    public String getBindingaccount() {
	return this.bindingaccount;
    }

    public void setBindingaccount(String bindingaccount) {
	this.bindingaccount = bindingaccount;
    }

    public String getChannel() {
	return this.channel;
    }

    public void setChannel(String channel) {
	this.channel = channel;
    }

    public String getSubsyscode() {
	return this.subsyscode;
    }

    public void setSubsyscode(String subsyscode) {
	this.subsyscode = subsyscode;
    }

    public String getName() {
	return this.name;
    }

    public void setName(String name) {
	this.name = name;
    }

    public String getBattery() {
	return this.battery;
    }

    public void setBattery(String battery) {
	this.battery = battery;
    }

    public String getCurrvalue() {
	return currvalue;
    }

    public void setCurrvalue(String currvalue) {
	this.currvalue = currvalue;
    }

    public String getAppaccount() {
	return appaccount;
    }

    public void setAppaccount(String appaccount) {
	this.appaccount = appaccount;
    }

    public String getAreaid() {
	return areaid;
    }

    public void setAreaid(String areaid) {
	this.areaid = areaid;
    }

    public String getPlaceid() {
	return placeid;
    }

    public void setPlaceid(String placeid) {
	this.placeid = placeid;
    }

}